home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
loadresource
< prev
next >
Wrap
Text File
|
1995-05-19
|
1KB
|
56 lines
LoadResource (3.1 only)
NAME
LoadResource - Locks and loads a resouce to memory.
SYNOPSIS
LoadResource [NAME] [LOCK] [UNLOCK]
DESCRIPTION
LoadResource is used to pre-load a certain resource
(library, device etc.) to memory before it is actually
used.
This may be used to reduce loading time of these
resources. But, this reduced loading time is not without
a price. That resource you load will continue to take up
memory until the next reboot or a "LoadResource <name>
UNLOCK" followed by a FlushLibs (either via WB menu if
you loaded WB with -DEBUG option or via the command
"avail flush").
KEYWORDS
NAME
Name of the resource to load.
LOCK
Loads the resource from the disk and lock it in
memory so it can't be expunged by a FlushLibs-Call.
UNLOCK
Search the given resource in memory and unlock it,
it may then be expunged.
EXAMPLES
1. To load the ReqTool.library from the libs: directory
and protect it against FlushLibs-Calls.
LoadResource ReqTools.library LOCK